/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.wii.elpro.entity;


import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 *
 * @author hendro
 */
public class Spdcf implements Serializable{

    private long id;
    private Inquery inquery;
    private BusinessPartner customer;
    private String alamatPengiriman;
    private Date tglSdpcf; // tanggal saat spdcf ini dibuat oleh marketing
    private Date tglKonfirmbyProduksi; //tanggal saat spdcf dikonfirmasi oleh produksi
    private Date tglKonfirmbyFinance; //tanggal saat spdcf dikonfirmasi oleh keuangan
    private String note;
    private String transportation;
    private double ppn;
    private String validityPrice; //?? tanggal atau string ( gak perlu )
    private byte validityStockLE;
    private byte productionTime;
    private int productionTimeDays;
    private byte productionCondition;
    private int finishingDays;
    private byte deliveryMode;
    private String deliveryModeDesc;
    private byte deliveryTime;
    private int deliveryTimeDays;
    private byte wasKonfirmByProduction; // 0=jika belum 1=jika sudah
    private byte wasKonfirmByFinance; // 0=jika belum 1=jika sudah
    private List<SpdcfItem> items = new ArrayList<SpdcfItem>();

    public Spdcf() {
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Inquery getInquery() {
        return inquery;
    }

    public void setInquery(Inquery inquery) {
        this.inquery = inquery;
    }

    public BusinessPartner getCustomer() {
        return customer;
    }

    public void setCustomer(BusinessPartner customer) {
        this.customer = customer;
    }

    public String getAlamatPengiriman() {
        return alamatPengiriman;
    }

    public void setAlamatPengiriman(String alamatPengiriman) {
        this.alamatPengiriman = alamatPengiriman;
    }

    public Date getTglSdpcf() {
        return tglSdpcf;
    }

    public void setTglSdpcf(Date tglSdpcf) {
        this.tglSdpcf = tglSdpcf;
    }

    public Date getTglKonfirmbyProduksi() {
        return tglKonfirmbyProduksi;
    }

    public void setTglKonfirmbyProduksi(Date tglKonfirmbyProduksi) {
        this.tglKonfirmbyProduksi = tglKonfirmbyProduksi;
    }

    public Date getTglKonfirmbyFinance() {
        return tglKonfirmbyFinance;
    }

    public void setTglKonfirmbyFinance(Date tglKonfirmbyFinance) {
        this.tglKonfirmbyFinance = tglKonfirmbyFinance;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getTransportation() {
        return transportation;
    }

    public void setTransportation(String transportation) {
        this.transportation = transportation;
    }

    public double getPpn() {
        return ppn;
    }

    public void setPpn(double ppn) {
        this.ppn = ppn;
    }

    public String getValidityPrice() {
        return validityPrice;
    }

    public void setValidityPrice(String validityPrice) {
        this.validityPrice = validityPrice;
    }

    public byte getValidityStockLE() {
        return validityStockLE;
    }

    public void setValidityStockLE(byte validityStockLE) {
        this.validityStockLE = validityStockLE;
    }

    public byte getProductionTime() {
        return productionTime;
    }

    public void setProductionTime(byte productionTime) {
        this.productionTime = productionTime;
    }

    public int getProductionTimeDays() {
        return productionTimeDays;
    }

    public void setProductionTimeDays(int productionTimeDays) {
        this.productionTimeDays = productionTimeDays;
    }

    public byte getProductionCondition() {
        return productionCondition;
    }

    public void setProductionCondition(byte productionCondition) {
        this.productionCondition = productionCondition;
    }

    public int getFinishingDays() {
        return finishingDays;
    }

    public void setFinishingDays(int finishingDays) {
        this.finishingDays = finishingDays;
    }

    public byte getDeliveryMode() {
        return deliveryMode;
    }

    public void setDeliveryMode(byte deliveryMode) {
        this.deliveryMode = deliveryMode;
    }

    public String getDeliveryModeDesc() {
        return deliveryModeDesc;
    }

    public void setDeliveryModeDesc(String deliveryModeDesc) {
        this.deliveryModeDesc = deliveryModeDesc;
    }

    public byte getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(byte deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public int getDeliveryTimeDays() {
        return deliveryTimeDays;
    }

    public void setDeliveryTimeDays(int deliveryTimeDays) {
        this.deliveryTimeDays = deliveryTimeDays;
    }

    public byte getWasKonfirmByProduction() {
        return wasKonfirmByProduction;
    }

    public void setWasKonfirmByProduction(byte wasKonfirmByProduction) {
        this.wasKonfirmByProduction = wasKonfirmByProduction;
    }

    public byte getWasKonfirmByFinance() {
        return wasKonfirmByFinance;
    }

    public void setWasKonfirmByFinance(byte wasKonfirmByFinance) {
        this.wasKonfirmByFinance = wasKonfirmByFinance;
    }

    public List<SpdcfItem> getItems() {
        return items;
    }

    public void setItems(List<SpdcfItem> items) {
        this.items = items;
    }
}
